Insertion of electrode during planned neurosurgery for epilepsy